package com.beiyou.orderingsystemonweb.system.domain;

public class Result<T> {
    String msg;//错误提示
    T t;//成功不为null，不成功为默认值null
    int type;//类别

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public Result() {
    }
}
